#include "PlanePrimitive.h"

using namespace RayTracer;

CPlanePrimitive::CPlanePrimitive(const CVector3& Normal, const float& D) : m_Plane(CPlane(Normal, D))
{
}

CPlanePrimitive::~CPlanePrimitive(void)
{
}

CPlanePrimitive::IntersectionStatus CPlanePrimitive::IntersectRay(RayTracer::CRay &ray, float &dist)
{
	// TODO
}

CVector3 CPlanePrimitive::getNormal(const RayTracer::CVector3 &pos)
{
	return m_Plane.getNormal();
}
